-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dead-time correction algorithm and UI elements for settings #95
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## next #95 +/- ##
==========================================
+ Coverage 35.43% 44.96% +9.52%
==========================================
Files 30 33 +3
Lines 6067 6310 +243
==========================================
+ Hits 2150 2837 +687
+ Misses 3917 3473 -444 ☔ View full report in Codecov by Sentry. |
Comments from Mat:
|
70360ec
to
2453c64
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you add instructions for a "Manual Test"?
@backmari codecov says the patch coverage is only 49%. You introduced some new functions. Did you write unit tests for them? |
test/unit/reflectivity_ui/interfaces/data_handling/test_dead_time_correction.py
Outdated
Show resolved
Hide resolved
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
- dead-time correction should be turned off by default - reload only files in tables (not all cached files) - keep the run settings when reloading files - recalculate reflectivity when reloading files
…g dead-time settings and reloading files
dcce379
to
9b869a7
Compare
Short description of the changes:
This branch combines back-end changes by @mdoucet in the branch: https://github.com/neutrons/reflectivity_ui/tree/dead_time
and adds UI changes by @searscr and @backmari.
Long description of the changes:
SingleReadoutDeadTimeCorrection
TODO: add unit testing of the new algorithm
SingleReadoutDeadTimeCorrection
Check list for the pull request
Check list for the reviewer
Manual test for the reviewer
REF_M_42112+42113_Specular_SA_test_dead-time_datarepo.dat.txt
and edit the 4 file paths to point to the location of your data repo folder. (Can remove the .txt filename suffix added to fool GitHub.)
References
Story 5023: [QUICKNXS] Add dead time options to UI